home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
mac
/
2-Graphics
/
Apple Graphics Source
/
Other files
/
Graphics Database Lists
/
card_5817.txt
< prev
next >
Wrap
Text File
|
1990-12-05
|
1KB
|
44 lines
-- card: 5817 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 5187
-- name: print TN/Even
-- part 3 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=0 top=0 right=34 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: List
----- HyperTalk script -----
on mouseUp
global listSelected, lineClicked
put clickLine() into lineClicked
-- determine how many lines are hidden above
put (the scroll of me / textHeight of me) into linesAbove
-- add that number to the relative position clicked
add linesAbove to lineClicked
-- userLevel must be set to 4 or 5 for select to work
put userLevel into tempUserLevel
set userLevel to 5
select line lineClicked of card field "list Index"
put tempUserLevel into userLevel
if the selection is empty
then
exit mouseUp
end if
put the selection into listSelected
end mouseUp
-- part contents for card part 3
----- text -----
12. | none
| File Server PICT